<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">
<head>
<title>login</title>
</head>
<body onload='document.f.j_username.focus();'>
<h:outputText rendered="#{loginPageBean.error }" value="#{loginPageBean.errorMessage }"></h:outputText>
<form id="f" name='f' action='/j_spring_security_check' method='post'>
<table>
    <tr><td>User:</td><td><input type='text' name='j_username' value="#{loginPageBean.lastUserName}"/></td></tr>
    <tr><td>Password:</td><td><input type='password' name='j_password' /></td></tr>
    <tr><td colspan='2'><input name="submit" type="submit"/></td></tr>
    <tr><td colspan='2'><input name="reset" type="reset"/></td></tr>
</table>
</form>
</body>
</html>